body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #004d40; /* 深绿色背景 */
  color: white;
}

header {
  background-color: #00695c; /* 深绿色背景 */
  padding: 10px 0;
  display: flex; /* 使用flex布局 */
  align-items: center; /* 垂直居中 */
  justify-content: space-between; /* 水平两端对齐 */
  padding: 0 20px; /* 左右内边距 */
}

#header-content {
  display: flex; /* 使用flex布局 */
  align-items: center; /* 垂直居中 */
}

#top {
  max-width: 100px; /* 图片最大宽度，可根据需要调整 */
  height: auto; /* 图片高度自动 */
}

h1 {
  margin: 0; /* 移除标题的外边距 */
}

nav {
  background-color: #00796b; /* 深绿色背景 */
  overflow: hidden;
}

nav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

nav a:hover {
  background-color: #004d40;
}

.content {
  display: flex;
  justify-content: space-between;
  margin: 20px;
}

.aside-left, .aside-right {
  background-color: #00796b; /* 深绿色背景 */
  color: white;
  padding: 10px;
  margin: 10px;
  flex: 1;
}

.room-title {
  cursor: pointer;
  transition: color 0.2s;
  margin-bottom: 10px; /* 添加底部外边距 */
}

.room-title:hover {
  color: white; /* 鼠标悬停时标题颜色变深 */
}

.aside-left ul, .aside-right ul {
  cursor: pointer; /* 鼠标悬停时显示为可点击状态 */
  transition: transform 0.2s; /* 平滑变换效果 */
  list-style-type: none;
  padding: 0;
}

.aside-left a, .aside-right a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 5px 0;
}


.aside-left a:hover, .aside-right a:hover {
  background-color: #004d40;
}

#chat-windows {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.chat-window {
  background-color: #004d40;
  color: white;
  margin: 10px;
  padding: 10px;
  width: calc(50% - 40px); /* 两个窗口并排 */
  box-sizing: border-box;
}

.active {
  border: 2px solid #00796b; /* 活跃的聊天窗口边框颜色 */
}